﻿using AnyCAD.Foundation;
using AnyCAD.NX.ViewModel;
using System;
using System.Collections.ObjectModel;
using System.Windows;
using System.Windows.Controls;

namespace Rapid.CAX.ViewModel
{
    public class ProjectBrowserViewModel : ProjectTreeViewModel
    {
        protected TreeView mTreeView;
        public ProjectBrowserViewModel(TreeView treeView)   
        {
            mTreeView = treeView;
            treeView.ItemsSource = TreeNodes;
        }

        public override void FillTree(Document pDocument)
        {
            // 这里可以自定义目录树的展示
            base.FillTree(pDocument);
        }
    }
}
